package com.cskaoyan.catmall.service.Impl;

import com.cskaoyan.catmall.dao.WxAuthMapper;
import com.cskaoyan.catmall.model.vo.WxLoginUser;
import com.cskaoyan.catmall.service.WxAuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 创建日期: 2022-01-11-22-21
 * author : LL
 * description:
 */
@Service
public class WxAuthServiceImpl implements WxAuthService {
    @Autowired
    WxAuthMapper authMapper;

    @Override
    public WxLoginUser UserLogin(String username) {
        WxLoginUser user = authMapper.selectUserCount(username);
        return user;
    }
}